package com.zlzlib.vuePage.annotation.form;

import com.zlzlib.vuePage.bean.enums.CodeInputTypeEnum;
import com.zlzlib.vuePage.config.FormSelectData;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 代码数据输入
 *
 * @DateTime: 2024/8/1 11:36
 * @Author zlz
 * @Version 1.0
 */
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface FormCodeInputField {
    /**
     * @return 模板数据来源
     */
    Class<? extends FormSelectData> demoDataClass();

    CodeInputTypeEnum type() default CodeInputTypeEnum.java;
}
